# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=mycroft-skill-weather
pkgver=20.02_git20200323
pkgrel=0
_commit="a48db3b87508fe7dd88ec7ac600ccf6d0bf22b43"
pkgdesc="Mycroft AI official Weather Skill, providing weather conditions and forecasts"
url="https://mycroft.ai/skills"
arch="noarch"
license="Apache-2.0"
depends="python3 py3-multi-key-dict py3-pyowm py3-requests"
source="https://github.com/mycroftai/skill-weather/archive/$_commit/skills-weather-$_commit.tar.gz"
options="!check" # No tests
builddir="$srcdir/skill-weather-$_commit"

package() {
	mkdir -p "$pkgdir"/usr/share/mycroft/skills/mycroft-weather.mycroftai
	cp -r ./* "$pkgdir"/usr/share/mycroft/skills/mycroft-weather.mycroftai/
}

sha512sums="51af8003a2838eeb399e6ed9afd0cd48ffe405b7f1d4af710550e069f0ebaee6397677281df137cdb8f2c81a1d3c4867fd9f06e510f89d232109f58cfa3f960d  skills-weather-a48db3b87508fe7dd88ec7ac600ccf6d0bf22b43.tar.gz"
